/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkgUtil.pkgFrameworkXML.pkgEntity;

/**
 *
 * @author Administrador
 */
public class RXmlObject extends XmlObject{
    
    private boolean validate;
    
    public RXmlObject(String fileXml, String fileXsd, boolean validate) {
        super(fileXml, fileXsd);
        this.validate = validate;
    }
    
    public RXmlObject() {
        super();
        this.validate = false;
    }

    /**
     * Set the value of fileXsd
     *
     * @param fileXsd new value of fileXsd
     */
    @Override
    public void setFileXsd(String fileXsd) {
        super.setFileXsd(fileXsd);
        this.setValidate(true);
    }

    /**
     * @return the validate
     */
    public boolean isValidate() {
        return validate;
    }

    /**
     * @param validate the validate to set
     */
    public void setValidate(boolean validate) {
        this.validate = validate;
    }
}
